package com.hw.entity.query.order;

import com.hw.entity.base.BaseQuery;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

/**
 * 订单历史查询参数封装类
 * @author Xg
 * @date 2021/6/29 15:34
 */
@Data
public class OrderQuery extends BaseQuery {

    /**
     * 时间
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "time")
    private LocalDateTime time;

    /**
     * 商家id
     */
    @ApiModelProperty(value = "商家id")
    private String storeId;
}
